package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * params 实体类
 *
 * @author suzhuang
 * @since 2023-07-05
 */
@Data
@ApiModel(value = "Params对象", description = "")
public class Params implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("模版编号")
    private Long templateNo;

    @ApiModelProperty("案件ID")
    private Long caseId;

    @ApiModelProperty("参数内容")
    private String paramContent;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("文书上传时间")
    private Date upload_time;

    /**
     * 1:科室待审核，2：法规科待审核，3：部门待审核，4：已通过，5：服务中心待审核，6：领导待审核
     */
    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("pdf文件路径")
    private String pdf;

    @TableField(exist = false)
    private String documentName;

    @TableField(exist = false)
    private String pstageId;
}
